package com.youyou.mapper;

import com.youyou.entity.Record;

import java.util.Date;
import java.util.List;

public interface RecordMapper {
    //添加一条流量记录
    public  boolean addRecord(Record record);
    // 通过Id查询所有的Record记录
    public Record getRecordByiId(Integer id);
    //查询所有的取款记录
    public List<Record> recordList(Integer userId,java.sql.Date day);
    //查询多条Record记录
    public  List<Record> getRecordById(Integer userID);

}
